package com.tinem.platform.service.message.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.Map;

@Data
@Configuration
@ConfigurationProperties(prefix = "sms")
public class SmsConfiguration {

	Map<String, Config> config;

	boolean mock=false;

	@Data
	public static class Config{
		private String appid;
		private String signature;
		private String url;
	}

}
